﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCExamination.ascx.cs" Inherits="Website.UC.UCExamination" %>
<style type="text/css">
    .style1
    {
        width: 500px;
    }
</style>
<asp:GridView ID="GridView1" runat="server" OnRowDeleting="GridView1_RowDeleting"
    OnSelectedIndexChanging="GridView1_SelectedIndexChanging" Width="100%" 
    DataKeyNames="exam_id">
    <Columns>
        <asp:CommandField ShowSelectButton="True" />
        <asp:CommandField ShowDeleteButton="True" />
    </Columns>
</asp:GridView>
<p>
    &nbsp;</p>
<table class="style1">
    <tr>
        <td>
            ID</td>
        <td>
            <asp:Label ID="lblId" runat="server"></asp:Label>
        </td>
        <td>
            &nbsp;
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;
        </td>
        <td>
            &nbsp;
        </td>
        <td>
            &nbsp;
        </td>
        </tr>
        <tr>
            <td>
                Name of Subject</td>
        <td>
            <asp:DropDownList 
                ID="DropDownList1" runat="server">
            </asp:DropDownList>
        </td>
        <td>
            &nbsp;
        </td>
    </tr>
    <tr>
        <td>
            Note</td>
        <td>
            &nbsp;&nbsp;<asp:TextBox ID="txtNote" runat="server" 
                Height="64px" TextMode="MultiLine" Width="260px"></asp:TextBox>
        </td>
        <td>
            &nbsp;
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;
            Date</td>
        <td>
            &nbsp;
            <asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>
            </td>
        <td>
            &nbsp;
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;
        </td>
        <td>
            &nbsp;
            <asp:Button ID="btnSave" runat="server"  Text="Save" 
                Width="60px" onclick="btnSave_Click" />
            <asp:Button ID="btnCancel" runat="server" 
                Text="Cancel" Width="60px" />
        </td>
        <td>
            &nbsp;
        </td>
    </tr>
</table>